import { http } from "../../utils/http";
// 内销领用功能--获取最大领用单号
export const getMaxSupplierPriceId = () => {
  return http.request("get", "/box/getMaxSupplierPriceId");
};

// 内销领用功能--新增领用申请单
export const insertSupplierPrice = (data) => {
  return http.request("put", "/box/insertSupplierPrice" ,{data}   );
};

// 木箱领用明细查询--获取所有领用信息
export const getSupplierPrice = () => {
  return http.request("get", "/box/getSupplierPrice");
};
// 木箱领用明细查询--更新领用信息
export const updateSupplierPrice = (data) => {
  return http.request("post", "/box/updateSupplierPrice",{data} );
};
// 木箱领用明细查询--删除领用信息
export const DeleteSupplierPrice = (data) => {
  return http.request("delete", "/box/DeleteSupplierPrice",{data} );
};
// 木箱领用明细查询--查询订单信息
export const searchSupplierPrice = (data) => {
  return http.request("get", "/box/searchSupplierPrice",{data} );
};
